package com.lakeworks.event;

import com.lakeworks.common.enums.RobotType;
import com.lakeworks.domain.OprProduct;
import com.lakeworks.domain.vo.CompanionInfo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class AttachEvent extends ApplicationEvent {

    private OprProduct product;


    public AttachEvent(Object source, OprProduct product) {
        super(source);
        this.product = product;
    }

    public RobotType getRobotType() {
        return RobotType.AUTO_PRODUCT_ATTACH;
    }

}
